package main

import (
	"core/coreinit"
	"core/server/baseserver"
	"iotall/iotproxy/iotproxyinit"
	"iotall/iotproxy/mydubbo"
	"iotall/iotproxy/servermain"
)

var (
	svrmain = &servermain.ServerMain{}
)

func main() {
	coreinit.Init()

	iotproxyinit.Init()
	mydubbo.Init()

	svrmain.Start()

	baseserver.WaitCloseSignals()
}
